// 用户相关的所有请求
import { request } from "@/utils";
//1.登录请求
export function loginAPI(data) {
    return request({
        url: '/authorizations',
        method: 'POST',
        data: data
    })
}

export function getUserAPI() {
    return request({
        url: '/user/profile',
        method: 'get',
    })
}